package com.hp.appfw.data.mapper.mygen;

import com.hp.appfw.data.mode.mygen.BaseResource;
import com.hp.appfw.data.mode.mygen.BaseResourceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BaseResourceMapper {
    int countByExample(BaseResourceExample example);

    int deleteByExample(BaseResourceExample example);

    int deleteByPrimaryKey(String id);

    int insert(BaseResource record);

    int insertSelective(BaseResource record);

    List<BaseResource> selectByExample(BaseResourceExample example);

    BaseResource selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") BaseResource record, @Param("example") BaseResourceExample example);

    int updateByExample(@Param("record") BaseResource record, @Param("example") BaseResourceExample example);

    int updateByPrimaryKeySelective(BaseResource record);

    int updateByPrimaryKey(BaseResource record);
}